
var theobject;
var w0=70, w1=140;

var nv=0;
function high(which2,nw0,nw1)
{
	
	if(nv==-1)
	{
		clearInterval(lowlighting);
		def(theobject,w0);
	}
	nv=1;
	theobject=which2;
	w0=nw0; w1=nw1;

	highlighting=setInterval("highlightit(theobject)",8);

}
function def(which2, vl)
{
	which2.width=vl;
	which2.height=vl;
}
function low(which2,nw0,nw1)
{
	if(nv==1)clearInterval(highlighting);
	nv=-1;
	theobject=which2;
	w0=nw0; w1=nw1;

	lowlighting=setInterval("lowlightit(theobject)",8);

}


function highlightit(cur2)
{

	if (cur2.width<w1)
	{
		
		cur2.width+=5;
		cur2.height+=5;
	}
	else if (window.highlighting)	clearInterval(highlighting);

}
function lowlightit(cur2)
{

	if (cur2.width>w0)
	{
		
		cur2.width-=10;
		cur2.height-=10;
	}
	else if (window.lowlighting)	{clearInterval(lowlighting);def(theobject,w0);}

}
